package com.yh.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import yh.common.BaseResult;

import java.math.BigDecimal;

/**
 * @author yh
 */
@FeignClient(value = "seata-order")
public interface IOrderClientService {

    @GetMapping(value = "/api/order/genOrder")
    public BaseResult genOrder(@RequestParam("proId")Long proId,@RequestParam("skuId")Long skuId,@RequestParam("nums")Integer nums ,@RequestParam("money")BigDecimal money,@RequestParam("status")Integer status);
}
